package sourceFiles;

/**
 * A Class representing an exterme ride as known by the park (a ride designated
 * as extreme will have a corresponding enrty from this class)
 * 
 * @author LASO-Team
 * 
 */
public class ExtremeRideEntry extends RideEntry {
	/**
	 * A simple constructor for the extreme ride
	 * @param rideName
	 * 					the name of the new extreme ride
	 * @param rideID
	 * 					the id of the new extreme ride
	 * @param price
	 * 					the price of the new extreme ride
	 */
	public ExtremeRideEntry(String rideName, Integer rideID, Double price) {
		super(rideName, rideID, price);
	}

	/**
	 * Query for the type of the ride in question (extreme or not)
	 * 
	 * @return that the ride is extreme
	 */
	@Override
	public Boolean isExtreme() {
		return true;
	}

}
